package com.ddatsh.transaction.core.model.validation;


/**
 * 数据完整性校验规则
 * 
 * @author ddatsh
 * 
 */
public class ValidationRuleItem {
	private Long id;
	private ValidationRule rule;
	private String propertyName;
	private String matchRegex;

	public Long getId() {
		return id;
	}

	public ValidationRule getRule() {
		return rule;
	}

	public String getPropertyName() {
		return propertyName;
	}

	public String getMatchRegex() {
		return matchRegex;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setRule(ValidationRule rule) {
		this.rule = rule;
	}

	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}

	public void setMatchRegex(String matchRegex) {
		this.matchRegex = matchRegex;
	}

}
